package logic;

import ui.ScreenWB;
import db.BankDatabase;

// Transaction.java
// Abstract superclass Transaction represents an ATM transaction

public abstract class Transaction {
	protected int accountNumber; // indicates account involved
	protected BankDatabase bankDatabase; // account info database

	// Transaction constructor invoked by subclasses using super()
	public Transaction(int userAccountNumber, ScreenWB atmScreen,
			BankDatabase atmBankDatabase) {
		accountNumber = userAccountNumber;
		bankDatabase = atmBankDatabase;
	} // end Transaction constructor
	public void changeBalance(){
		
	}
} // end class Transaction

